package quiz5;

/**
 * Created by xujc on 7/14/15.
 * 用拼音是在逗?
 */
public class XiYouJiRenWu {
    private int height;
    private String name;
    private String weapon;

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWeapon() {
        return weapon;
    }

    public void setWeapon(String weapon) {
        this.weapon = weapon;
    }

    public void printName(){
        System.out.println(name);
    }

    public void printWeapon(){
        System.out.println(weapon);
    }

    public static void main(String[] args) {
        XiYouJiRenWu zhuBaJie=new XiYouJiRenWu();
        zhuBaJie.setHeight(180);
        zhuBaJie.setName("zhuBaJie");
        zhuBaJie.setWeapon("stick with 9 teeth");
        zhuBaJie.printName();
        zhuBaJie.printWeapon();
    }
}
